
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<style type="text/css">
	.hasDatepick { width:150px }
</style>

<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0" id="orgInfo" cellspacing="1">
	<tr><td colspan="6" class="t_bar">&nbsp;单位基本信息</td></tr>
	<tr>
		<td width="120px" nowrap align="right"><span class="color_red">*</span>单位名称：</td>
		<td colspan='5'>
			<input type="text" name="organizations/participating_units/cname" id="participating_units_cname" label="单位基本信息中单位名称" style="width:790px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/cname" />" maxlength="50"/>
		</td>
    </tr>
    <tr>
		<td align="right"><span class="color_red">*</span>法人代码：</td>
		<td width="220px">
		    <input type="text" name="organizations/participating_units/org_no" id="participating_units_org_no" label="单位基本信息中法人代码" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/org_no" />" maxlength="50"/>
		</td>
		
	    <td width="120px" nowrap align="right"><span class="color_red">*</span>生产、办公面积：</td>
		<td colspan="3" >
		    <input type="text" name="organizations/participating_units/office_product"  onfocus="InitInput.setNumber(this,10,0,0)"  id="participating_units_office_product" label="单位基本信息中生产、办公面积" style="text-align:right; width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/office_product" />" maxlength="50"/>&nbsp;平方米
	    </td>
    </tr>
    <tr>
		<td width="120px" nowrap align="right"><span class="color_red">*</span>营业执照注册号：</td>
		<td width="220px">
		    <input type="text" name="organizations/participating_units/org_licence" id="participating_units_org_licence" label="单位基本信息中营业执照注册号" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/org_licence" />" maxlength="50"/>
	    </td>
		<td width="120px" nowrap align="right"><span class="color_red">*</span>国税登记证号：</td>
		<td width="200px">
		    <input type="text" name="organizations/participating_units/tax_internal_no" id="participating_units_tax_internal_no" label="单位基本信息中国税登记证号" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/tax_internal_no" />" maxlength="50"/>
	    </td>
	    <td width="120px" nowrap align="right"><span class="color_red">*</span>地税登记证号：</td>
		<td width="200px">
		    <input type="text" name="organizations/participating_units/tax_local_no" id="participating_units_tax_local_no" label="单位基本信息中地税登记证号" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/tax_local_no" />" maxlength="50"/>
	    </td>
    </tr>
    <tr>
        <td width="" nowrap align="right"><span class="color_red">*</span>通讯地址：</td>
		<td colspan='5'>
			<input type="text" name="organizations/participating_units/address" id="participating_units_address" label="单位基本信息中通讯地址" style="width:790px" required class="input_css required maxlength:100" value="<x:out select="$xmlData/data/organizations/participating_units/address" />" maxlength="100"/>
		</td>
    </tr>
    <tr>
		<td align="right"><span class="color_red">*</span>开户银行：</td>
		<td >
		    <input type="text" name="organizations/participating_units/bank_orgname" id="participating_units_bank_orgname" label="单位基本信息中开户银行" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/bank_orgname" />" maxlength="50"/>
		</td>
		<td align="right"><span class="color_red">*</span>银行账号：</td>
		<td >
		    <input type="text" name="organizations/participating_units/bank_account"   id="participating_units_bank_account" label="单位基本信息中银行账号" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/bank_account" />" maxlength="50"/>
	    </td>
	    <td align="right"><span class="color_red">*</span>信用等级：</td>
		<td >
		    <input type="text" name="organizations/participating_units/bank_credit" id="participating_units_bank_credit" label="单位基本信息中信用等级" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/bank_credit" />" maxlength="50"/>
	    </td>
    </tr>
    <tr>
		<td align="right"><span class="color_red">*</span>总收入：</td>
		<td nowrap width="220px">
		    <input type="text" name="organizations/participating_units/income" id="participating_units_income" label="单位基本信息中总收入" onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/income" />" maxlength="50"/> 万元
		</td>
		
	    <td width="120px" nowrap align="right"><span class="color_red">*</span>研发投入：</td>
		<td colspan="3" >
		    <input type="text" name="organizations/participating_units/outcome_develop" id="participating_units_outcome_develop" label="单位基本信息中研发投入" onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/outcome_develop" />" maxlength="50"/> 万元
	    </td>
    </tr>
    <tr>
        <td align="right"><span class="color_red">*</span>经营范围：<br/>（限五百字）</td>
		<td colspan='5'>
			<textarea name="organizations/participating_units/opt_scope" rows="4" style="width:790px" class="input_textarea required textarea maxlength:500" required label="单位基本信息中经营范围" ><x:out select="$xmlData/data/organizations/participating_units/opt_scope" escapeXml="true" /></textarea>
		    <input type="hidden" name="organizations/participating_units/opt_scope_hidden" value="" />
		</td>
    </tr>
    
   
</table>

<br/>
<div class="t_bar">单位负责人情况：</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="orgPersons" cellspacing="1">	
	<tr>
		<td width="100" align="right"><span class="color_red">*</span>姓名：</td>
		<td width="180">
			<input type="text" name="organizations/participating_units/charge_person/zh_name" id="charge_person_zh_name" label="单位负责人姓名" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/charge_person/zh_name" />" maxlength="50"/>
		<td width="100" align="right"><span class="color_red">*</span>出生日期：</td>
		<td width="200"><c:set var="birthday" scope="page"><x:out select="$xmlData/data/organizations/participating_units/charge_person/birthday"/></c:set>
			<cpt:date id="birthday" name="organizations/participating_units/charge_person/birthday"
				value="${birthday}" size="27" className="required date beforeToday"
				label="单位负责人出生日期"></cpt:date>
		
		<td width="100" align="right"><span class="color_red">*</span>任现职时间：</td>
		<td>
			<c:set var="serving_date" scope="page"><x:out select="$xmlData/data/organizations/participating_units/charge_person/serving_date"/></c:set>
		<cpt:date id="serving_date" name="organizations/participating_units/charge_person/serving_date"
				value="${serving_date}" size="27" className="required date beforeToday"
				label="单位负责人任现职时间"></cpt:date>
		</td>
			
		
	</tr>
	<tr>
		 <td align="right"><span class="color_red">*</span>身份证：</td>
		<td >
			<input type="text" name="organizations/participating_units/charge_person/id_no" id="charge_person_zh_name" label="单位负责人身份证" style="width:150px" class="input_css required idCard maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/charge_person/id_no" />" maxlength="50"/>
		</td>
	
		<td align="right"><span class="color_red">*</span>最高学历：</td>
		<td>
			<c:set var="educate_value1"><x:out select="$xmlData/data/organizations/participating_units/charge_person/edu_value" /></c:set>
			<cpt:select id="edu"  key="educate"  className="select_width" value="${educate_value1}" ></cpt:select>
			<input type="hidden" name="organizations/participating_units/charge_person/edu_value"  class="required" value="${educate_value1}" label="单位负责人最高学历">
			<input type="hidden" name="organizations/participating_units/charge_person/edu_name" value="<x:out select="$xmlData/data/organizations/participating_units/charge_person/edu_name" />">
		</td>
		
		<td align="right"><span class="color_red">*</span>专业：</td>
		<td>
			<input type="text" name="organizations/participating_units/charge_person/specialized_subject" id="charge_person_specialized_subject" label="单位负责人专业" style="width:150px" required class="input_css required maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/charge_person/specialized_subject" />" maxlength="50"/>
		</td>
	</tr>
	<tr>
		 <td align="right"><span class="color_red">*</span>电话：</td>
		<td>
			<input type="text" name="organizations/participating_units/charge_person/tel" id="participating_units_charge_person_tel" label="单位负责人电话" style="width:150px" required class="input_css required maxlength:50 tel" value="<x:out select="$xmlData/data/organizations/participating_units/charge_person/tel" />" maxlength="50"/>
		</td>
		
		<td  align="right"><span class="color_red">*</span>手机：</td>	 
		<td>
			<input type="text" name="organizations/participating_units/charge_person/mobile" onfocus="InitInput.setNumber(this,11,0,0)"  id="participating_units_charge_person_mobile" label="单位负责人手机" style="width:150px" class="input_css required mobile maxlength:50" value="<x:out select="$xmlData/data/organizations/participating_units/charge_person/mobile" />" maxlength="11"/>
		</td>
		
		<td align="right"><span class="color_red">*</span>电子邮箱：</td>	 
		<td>
			<input type="text" name="organizations/participating_units/charge_person/mail" id="participating_units_charge_person_mail" label="单位负责人电子邮箱" style="width:150px" required class="input_css required maxlength:50  email" value="<x:out select="$xmlData/data/organizations/participating_units/charge_person/mail" />" maxlength="50"/>
		</td>
			 
	</tr>
</table>

<br>
<div class="t_bar"><span class="color_red">*</span>近三年曾获政府资助的情况</div>
<table id="tblFundProjectList" border="0" cellspacing="0" cellpadding="0" class="table01" >
	<thead>
		<tr>
			<th class="TblHead" align="center"  width="50px">选择</th>
			<th class="TblHead" align="center"  width="50px">序号</th>
			<th align="center"  width="200px" nowrap>项目名称</th>
			<th width="200px" align="center">资助部门</th>
			<th width="200px">资助时间</th>
			<th width="200px">资助金额（单位：万元）</th>
			<th width="200px">项目验收情况</th>
		</tr>
	</thead>
	<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selFundProjectList" >
						</td>
						<td align="center">&nbsp;
							<span name="organizations|participating_units|fund_project_list|project[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="organizations|participating_units|fund_project_list|project[0]|zh_title" label="项目名称" style="width:160px;" class="notNull input_text maxlength:50" maxlength="50"/>
						</td>
						<td>
							<input type="text" name="organizations|participating_units|fund_project_list|project[0]|grant_department" label="资助部门" style="width:160px;" class="notNull input_text maxlength:50" maxlength="50"/>
						</td> 
						
						<td>
							<input  id="fund_project_list_grant_date_[0]" name="organizations|participating_units|fund_project_list|project[0]|grant_date" class="notNull input_text formatDate" style="width:100px" label="资助时间" />
						</td> 
						<td>
							<input type="text" name="organizations|participating_units|fund_project_list|project[0]|grant_sum" label="资助金额" onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:120px;" class="notNull input_text maxlength:50" maxlength="50"/>
						</td> 
						<td>
							<input type="text" name="organizations|participating_units|fund_project_list|project[0]|acceptance_status" label="项目验收情况"  style="width:120px;" class="notNull input_text maxlength:50" maxlength="50"/>
						</td>
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/organizations/participating_units/fund_project_list/project" var="project">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="selFundProjectList" >
						</td>
						<td align="center">&nbsp;
							<span   name="organizations/participating_units/fund_project_list/project[${flag}${index}]@seq_no" ><x:out select="$project/@seq_no"/></span> 
						</td>
						<td >
							<input type="text" name="organizations/participating_units/fund_project_list/project[${flag}${index}]/zh_title" label="项目名称" style="width:160px;" class="notNull input_text maxlength:50" value="<x:out select="$project/zh_title" />" maxlength="50"/>
						</td>
						<td >
							<input type="text" name="organizations/participating_units/fund_project_list/project[${flag}${index}]/grant_department" label="资助部门" style="width:160px;" class="notNull input_text maxlength:50" value="<x:out select="$project/grant_department" />" maxlength="50"/>
						</td> 
						<td >
							<c:set var="grant_date" scope="page"><x:out select="$project/grant_date"/></c:set>
							<input id="fund_project_list_grant_date_[${flag}${index}]" value="${grant_date}" label="资助时间" name="organizations/participating_units/fund_project_list/project[${flag}${index}]/grant_date" class="notNull input_text formatDate"  style="width:100px"/>
						</td> 
						<td >
							<input type="text" name="organizations/participating_units/fund_project_list/project[${flag}${index}]/grant_sum" label="资助金额" onfocus="InitInput.setNumber(this,7,4,2)" style="text-align:right;width:120px;" class="notNull input_text maxlength:10" value="<x:out select="$project/grant_sum" />" maxlength="10"/> 
						</td>
						<td >
							<input type="text" name="organizations/participating_units/fund_project_list/project[${flag}${index}]/acceptance_status" label="项目验收情况" style="width:120px;" class="notNull input_text maxlength:10" value="<x:out select="$project/acceptance_status" />" maxlength="10"/> 
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblFundProjectList");
					</script>
				</tbody>
					</table>
					<br>

					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblFundProjectList',6,'获得政府资助情况最多只能填写6条')){addNewRow('tblFundProjectList');showDateTag('tblFundProjectList');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblFundProjectList','selFundProjectList')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblFundProjectList','selFundProjectList')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblFundProjectList','政府资助的情况')">
					</td></tr>
	</table>

<br/>
<div class="t_bar"><span class="color_red">*</span>单位基本情况介绍</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="cydwOrgBasicInfo" cellspacing="1">	
	<tr>
		<td>
			重点说明单位参与创新研究机构建设的必要性与可行性、技术基础、研发能力及资金保障能力（2000字以内）
		</td>
	</tr>
	<tr>
		<td>
			<textarea name="organizations/participating_units/base_info" rows="8" style="width:920px" class="input_textarea maxlength:2000 textarea" required label="单位基本情况介绍" ><x:out select="$xmlData/data/organizations/participating_units/base_info" escapeXml="true" /></textarea>
		     <input type="hidden" name="organizations/participating_units/base_info_hidden" value="" />
		</td>
	</tr>
	
</table>
<script type="text/javascript">
	
</script>
